<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
	   				 <!-- Dialogo Registrar Campanha -->
   <form>
	    <p:dialog id="modalRegistrarCampanha" header="Registrar Campanha" widgetVar="dlgRegCampanha" modal="true" height="450" width="490">  
		
	<p:panel id="PanelPoupupRegCampanha"  header="Registrar Campanha"  >

			<div style="text-align:left;">
				<h:panelGrid  columns="2" >
					
					<h:outputLabel value="Empresa:" />
					<p:selectOneMenu>
						<f:selectItem itemLabel="Selecione" itemValue="selecione" /> 
						<f:selectItem itemLabel="Ronaldo Fenomeno Consultoria de Impresa" itemValue="empresa" />
			         </p:selectOneMenu> 
			         
			    	<h:outputLabel value="Nome:" />
			    	<p:inputText size="40" required="true" requiredMessage="Informe um nome" />
			    	
			    	<h:outputLabel value="Data Inicial:" />
			    	<p:calendar size="10" />
			    	
			    	<h:outputLabel value="Data Final:" />
			    	<p:calendar size="10" />
			    	
				    <p:commandButton value="Gravar">
				  		
				    </p:commandButton>
				    <p:commandButton value="Cancelar Edicao" />
				    
			    </h:panelGrid>
			    <p:messages />
			    </div>  

	</p:panel>
			    <br/>

			    <p:inputText />
			    <p:commandButton value="Pesquisar" />
			    <br/><br />
			    <h:panelGrid>
			    <p:dataTable paginator="true" rows="3" lazy="true" rowClasses="impar,par">
				
				<p:column headerText="Empresa">
					
				</p:column>		
				
				<p:column headerText="Campanha">
					
				</p:column>
				
				<p:column headerText="Dt. Inicial">
					
				</p:column>
				<p:column headerText="Dt. Final">
					
				</p:column>
				<p:column>
					<f:facet name="header">Acoes</f:facet>
					<h:commandLink value="Alterar" />
				</p:column>
			</p:dataTable>
           </h:panelGrid>
		</p:dialog> 
		</form>
</html>